//
//  UILabel+TP_Utility.h
//  E_Car
//
//  Created by 谭鹏 on 2017/7/31.
//  Copyright © 2017年 谭鹏. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (TP_Utility)
+(instancetype)labelWithText:(NSString *)text Font:(UIFont *)font;
+(instancetype)labelWithText:(NSString *)text font:(UIFont *)font;
+(instancetype)labelWithText:(NSString *)text font:(UIFont *)font color:(UIColor *)color;
-(instancetype)initWithText:(NSString *)text Font:(UIFont *)font;

+(instancetype)labelWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment bgColor:(UIColor *)bgColor numberOfLines:(NSUInteger)numberOfLines lineBreakMode:(NSLineBreakMode)lineBreakMode;

-(instancetype)initWithText:(NSString *)text font:(UIFont *)font textColor:(UIColor *)textColor textAlignment:(NSTextAlignment)textAlignment bgColor:(UIColor *)bgColor numberOfLines:(NSUInteger)numberOfLines lineBreakMode:(NSLineBreakMode)lineBreakMode;
@end
